package homework.homework2;

public abstract class Game {
	private String name;

	public Game() {
		super();
	}
	public Game(String name) {
		super();
		this.name = name;
	}
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	// 游戏升级
	public abstract void upLevel();
}
